#pragma once
#include "DXAMLCommon.h"


class CGlyphPathBuilder
{
public: 
	XUINT16 * m_pIndices;
	XFLOAT * m_pUOffsets;
	XFLOAT * m_pVOffsets;
	XFLOAT * m_pAdvances;
	XUINT16 * m_pClusterMap;
	XUINT32 m_GlyphCapacity;
	XUINT32 m_CodepointCapacity;
	XUINT32 m_GlyphCount;
	XUINT32 m_CodepointCount;
	CGlyphPathBuilder();
	~CGlyphPathBuilder();
	HRESULT AllocateGlyphCapacity(XBOOL requiredCapacity);
	HRESULT EnsureGlyphCapacity(XBOOL requiredCapacity);
	HRESULT AllocateCodepointCapacity(XBOOL requiredCapacity);
	HRESULT EnsureCodepointCapacity(XBOOL requiredCapacity);
};
